package com.qiang.manager.service;


import com.qiang.manager.dao.IteacherDao;
import com.qiang.manager.domain.Teacher;
import com.qiang.manager.factory.Factory;

import java.util.ArrayList;

//接口
public interface IteacherService {

    //添加老师
    public void addTeacher(Teacher teacher);



    //删除老师
    public void deleteTeacher(String id);



    //修改老师
    public void updateTeacher(String id,Teacher newtea);



    ////查看老师
    public ArrayList<Teacher> findTeacher();

    public boolean Exit(String id);
}
